﻿using System;

namespace FRM.Messenger.Common.Helper
{
    public static class StringExtensions
    {
        public static string ErrorXml(this String error)
        {
            return "<Error>" + error + "</Error>";
        }

        public static string ErrorXmlRoot(this String error)
        {
            return "<Errors>" + error + "</Errors>";
        }
    }
}
